<%-- 
    Document   : request
    Created on : 02/07/2014, 02:26:21 PM
    Author     : Rdelacruz
--%>

<%@page import="java.util.Enumeration"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Request</title>
    </head>
    <body>
        <h1>Request</h1>
        <table border="1">
            <tr>
                <td>AuthType</td>
                <td><%=request.getAuthType() %></td>
            </tr>
            <tr>
                <td>CharacterEncoding</td>
                <td><%=request.getCharacterEncoding() %></td>
            </tr>
            <tr>
                <td>ContentType</td>
                <td><%=request.getContentType() %></td>
            </tr>
            <tr>
                <td>ContextPath</td>
                <td><%=request.getContextPath() %></td>
            </tr>
            <tr>
                <td>LocalAddr</td>
                <td><%=request.getLocalAddr() %></td>
            </tr>
            <tr>
                <td>LocalName</td>
                <td><%=request.getLocalName() %></td>
            </tr>
            <tr>
                <td>Method</td>
                <td><%=request.getMethod() %></td>
            </tr>
            <tr>
                <td>PathInfo</td>
                <td><%=request.getPathInfo() %></td>
            </tr>
            <tr>
                <td>PathTranslated</td>
                <td><%=request.getPathTranslated() %></td>
            </tr>
            <tr>
                <td>Protocol</td>
                <td><%=request.getProtocol() %></td>
            </tr>
            <tr>
                <td>QueryString</td>
                <td><%=request.getQueryString() %></td>
            </tr>
            <tr>
                <td>RemoteAddr</td>
                <td><%=request.getRemoteAddr() %></td>
            </tr>
            <tr>
                <td>RemoteHost</td>
                <td><%=request.getRemoteHost() %></td>
            </tr>
            <tr>
                <td>RemoteUser</td>
                <td><%=request.getRemoteUser() %></td>
            </tr>
            <tr>
                <td>RequestURI</td>
                <td><%=request.getRequestURI() %></td>
            </tr>
            <tr>
                <td>RequestedSessionId</td>
                <td><%=request.getRequestedSessionId() %></td>
            </tr>
            <tr>
                <td>Scheme</td>
                <td><%=request.getScheme() %></td>
            </tr>
            <tr>
                <td>ServerName</td>
                <td><%=request.getServerName() %></td>
            </tr>
            <tr>
                <td>ServletPath</td>
                <td><%=request.getServletPath() %></td>
            </tr>
            
            <tr>
                <td>toString</td>
                <td><%=request.toString() %></td>
            </tr>  
            
            <tr>
                <td>AttributeNames</td>
                <td><%=request.getAttributeNames() %></td>
            </tr>
            
            <tr>
                <td>Class</td>
                <td><%=request.getClass() %></td>
            </tr>
            
            <tr>
                <td>ContentLength</td>
                <td><%=request.getContentLength() %></td>
            </tr>
            <tr>
                <td>Cookies</td>
                <td><%=request.getCookies() %></td>
            </tr>
            <tr>
                <td>HeaderNames</td>
                <td><%=request.getHeaderNames() %></td>
            </tr>
            <tr>
                <td>InputStream</td>
                <td><%=request.getInputStream() %></td>
            </tr>
            <tr>
                <td>LocalPort</td>
                <td><%=request.getLocalPort() %></td>
            </tr>
            <tr>
                <td>Locale</td>
                <td><%=request.getLocale() %></td>
            </tr>
            <tr>
                <td>ParameterMap</td>
                <td><%=request.getParameterMap() %></td>
            </tr>
            <tr>
                <td>ParameterNames</td>
                <td><%=request.getParameterNames() %></td>
            </tr>
            <tr>
                <td>Reader</td>
                <td><%="((No implementado)" /*request.getReader()*/ %></td>
            </tr>
            <tr>
                <td>RemotePort</td>
                <td><%=request.getRemotePort() %></td>
            </tr>
            
            <tr>
                <td>RequestURL</td>
                <td><%=request.getRequestURL() %></td>
            </tr>
            <tr>
                <td>ServerPort</td>
                <td><%=request.getServerPort() %></td>
            </tr>
            <tr>
                <td>UserPrincipal</td>
                <td><%=request.getUserPrincipal() %></td>
            </tr>
            <tr>
                <td>hashCode</td>
                <td><%=request.hashCode() %></td>
            </tr>
            <tr>
                <td>isRequestedSessionIdFromCookie</td>
                <td><%=request.isRequestedSessionIdFromCookie() %></td>
            </tr>
            <tr>
                <td>isRequestedSessionIdFromURL</td>
                <td><%=request.isRequestedSessionIdFromURL() %></td>
            </tr>
            <tr>
                <td>isRequestedSessionIdValid</td>
                <td><%=request.isRequestedSessionIdValid() %></td>
            </tr>
            <tr>
                <td>isSecure</td>
                <td><%=request.isSecure() %></td>
            </tr>
            
            
            <%-- //for(String name : request.getAttributeNames() ) { %>           
            <tr>
                <td>Protocol</td>
                <td><%=request.getAttributeNames() %></td>
            </tr>
            
            <% } --%> 
                        
        </table>
        
    </body>
</html>
